﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EMS.Entities
{
    public class ElectricRecord
    {
        public int RecordId { get; set; }
        public int CustomerId { get; set; }
        public string CustomerName { get; set; }
        public string CMND { get; set; }
        public int Month { get; set; }
        public int Year { get; set; }
        public float FirstPoint { get; set; }
        public float LastPoint { get; set; }
        public float Price { get; set; }
        public int RegisterPlace { get; set; }
        public string RegisterPlaceString
        {
            get
            {
                return RegisterPlace == 1 ? "Hai Chau" : "Lien Chieu";
            }
        }
        public string PaidDate { get; set; }
    }
}
